# # -*- coding:utf-8 -*-
#
# # @Time: 2025/3/22 21:33
#
# # @Author: zhangbo
#
# # @File: Find_Img.py
#
# # @version: v1.0
#
# import aircv as ac
#
#
# class FindImg:
#
#     def img_imread(self, img_path):
#         """
#         读取图片
#         :param img_path: 图片地址
#         :return:
#         """
#         return ac.imread(img_path)
#
#     def get_confidence(self, source_path, search_path):
#         """
#         查找图片
#         :param source_path: 源地址
#         :param search_path: 需要查找的图片地址
#         :return:
#         """
#         img_src = self.img_imread(source_path)
#         img_sch = self.img_imread(search_path)
#         # 查找图片
#         res = ac.find_template(img_src, img_sch)
#         print(res)
#         return res["confidence"]
#
